<button class="btn btn-success dropdown-toggle" title="Table of contents" data-toggle="dropdown">
    <i class="icon-list"></i>
</button>
<div class="dropdown-menu pull-right">
    <h3>Table of contents</h3>
    <hr>
    <div class="table-of-contents">
    </div>
    <hr>
</div>
